package org.mech.sefer.client.ui.console;

import org.apache.pivot.collections.Map;
import org.apache.pivot.wtk.Application;
import org.apache.pivot.wtk.Display;
import org.apache.pivot.wtk.FillPane;
import org.apache.pivot.wtk.Frame;
import org.apache.pivot.wtk.Label;

public class ConsoleApplication extends Application.Adapter {

	private Frame window;
	private Label label;
	
	public ConsoleApplication() {
		window = new Frame();
		window.setMaximized(true);
		FillPane fillPane = new FillPane();
		label= new Label("test");
		fillPane.add(label);
		window.add(fillPane);
	}
	
	@Override
	public void startup(Display display, Map<String, String> properties)
			throws Exception {
		window.open(display);
	}
	
	
	
}
